package com.zwy.core.domain.vo;

import cn.hutool.system.UserInfo;
import lombok.Data;

import java.util.List;

@Data
public class LoginVO {

    private String token;
    private String tokenType = "Bearer";
    private Long expiresIn;
    private UserInfo userInfo;

    @Data
    public static class UserInfo{
        private Long id;
        private String username;
        private List<String> roles;
    }
}
